<template>
	<view>
		<!-- 用药信息表单 -->
		<uni-section title="老人基本信息" type="line"  >
					<view class="example">
						<!-- 基础用法，不包含校验规则 -->
						<uni-forms ref="baseForm" :modelValue="baseFormData">
							<uni-forms-item label="姓名" required>
								<uni-easyinput type="text"  v-model="baseFormData.username"  />
							</uni-forms-item> 
							<uni-forms-item label="身份证" required>
								<uni-easyinput type="text"  v-model="baseFormData.num"  />
							</uni-forms-item>
							<uni-forms-item label="年龄" required>
								<uni-easyinput v-model="baseFormData.age" />
							</uni-forms-item>
							<uni-forms-item label="性别" required>
								<uni-easyinput v-model="baseFormData.gender" />
							</uni-forms-item>
							<uni-forms-item label="生日" required>
								<uni-easyinput type="text"  v-model="baseFormData.birth"  />
							</uni-forms-item>
							<uni-forms-item label="健康状况" required>
								<uni-easyinput type="text"  v-model="baseFormData.statys"  />
							</uni-forms-item>
							<uni-forms-item label="标签" required>
								<uni-easyinput type="text"  v-model="baseFormData.tag"  />
							</uni-forms-item>
							<uni-forms-item label="备注" required>
								<uni-easyinput type="text"  v-model="baseFormData.remark"  />
							</uni-forms-item>
						</uni-forms>
					</view>
				</uni-section>
				
	</view>
</template>

<script>
	export default {
		data() {
			return {
				// 基础表单数据
				baseFormData: {
				username: '',
				birth:'',
				num:'',
				age: '',
				gender:'',
				statys:'',
				tag:'',
				remark:''
				},
			}
		},
		methods: {
			
		}
	}
</script>

<style>

</style>
